time.Duration.format (method) 2 uses time (current package) time.go#L947: n := d.format(&arr) time.go#L953: func (d Duration) format(buf *[32]byte) int {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)